﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KnowledgeEntity
{
   public class UserAccount
   {
      public int ID { get; private set; }
      public string Code { get; private set; }
      public string Name { get; private set; }
      public string Description { get; private set; }
      public bool NoSuchUser { get; private set; }

      public UserAccount(int id, string code, string name, string description)
      {
         ID = id;
         Code = code;
         Name = name;
         Description = description;
         NoSuchUser = false;

         if (code.Equals("NOUSER"))
            NoSuchUser = true;
      }
   }
}
